package com.kingdee.pda.entity;

import android.util.ArraySet;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author：dlj
 * @data：2021/9/17 17:33
 * @des：
 */
public class ScanOutOrderInfoBean {


    /**
     * id : 1081786054291259392
     * billno : OB-20210201-00000037
     * outcode :
     * outtype : 销售出库
     * express : 韵达
     * warehouse : 罗宇测试仓库
     * mailno :  1111111111111111
     * cod : false
     * detailAdress : 111
     * allGrossWeight : null
     * allNeteight : null
     * allVolume : null
     * buyermemo :
     * sellermemo :
     * stockOutOrderDetailInfos : [{"lineno":"1","sku":"1004182249194654720","skucode":"supper_test_skucode01","skuname":"豪华舒适型","spucode":"Ly_supper_test_demo01","spuname":"波音777","color":"","size":"","grossWeight":0,"imageUrl":"","neteight":0,"volume":0,"skubarcode":["Ly_supper_test_demo01"],"location":null,"locationArea":null,"qty":1}]
     */

    private String id;
    private String billno;
    private String outcode;
    private String outtype;
    private String express;
    private String warehouse;
    private String mailno;
    private boolean cod;
    private String detailAdress;
    private Object allGrossWeight;
    private Object allNeteight;
    private Object allVolume;
    private String buyermemo;
    private String sellermemo;
    private double packageweight;
    private long warehouseId;
    private String numberType;
    private String formId;

    private List<StockOutOrderDetailInfosBean> stockOutOrderDetailInfos;

    public String getNumberType() {
        return numberType == null ? "" : numberType;
    }

    public void setNumberType(String numberType) {
        this.numberType = numberType;
    }

    public String getFormId() {
        return formId == null ? "" : formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getPackageweight() {
        return packageweight;
    }

    public void setPackageweight(double packageweight) {
        this.packageweight = packageweight;
    }

    public String getBillno() {
        return billno;
    }

    public void setBillno(String billno) {
        this.billno = billno;
    }

    public String getOutcode() {
        return outcode;
    }

    public void setOutcode(String outcode) {
        this.outcode = outcode;
    }

    public String getOuttype() {
        return outtype;
    }

    public void setOuttype(String outtype) {
        this.outtype = outtype;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getMailno() {
        return mailno;
    }

    public void setMailno(String mailno) {
        this.mailno = mailno;
    }

    public boolean isCod() {
        return cod;
    }

    public void setCod(boolean cod) {
        this.cod = cod;
    }

    public String getDetailAdress() {
        return detailAdress;
    }

    public void setDetailAdress(String detailAdress) {
        this.detailAdress = detailAdress;
    }

    public Object getAllGrossWeight() {
        return allGrossWeight;
    }

    public void setAllGrossWeight(Object allGrossWeight) {
        this.allGrossWeight = allGrossWeight;
    }

    public Object getAllNeteight() {
        return allNeteight;
    }

    public void setAllNeteight(Object allNeteight) {
        this.allNeteight = allNeteight;
    }

    public Object getAllVolume() {
        return allVolume;
    }

    public void setAllVolume(Object allVolume) {
        this.allVolume = allVolume;
    }

    public String getBuyermemo() {
        return buyermemo;
    }

    public void setBuyermemo(String buyermemo) {
        this.buyermemo = buyermemo;
    }

    public String getSellermemo() {
        return sellermemo;
    }

    public void setSellermemo(String sellermemo) {
        this.sellermemo = sellermemo;
    }

    public List<StockOutOrderDetailInfosBean> getStockOutOrderDetailInfos() {
        return stockOutOrderDetailInfos;
    }

    public void setStockOutOrderDetailInfos(List<StockOutOrderDetailInfosBean> stockOutOrderDetailInfos) {
        this.stockOutOrderDetailInfos = stockOutOrderDetailInfos;
    }

    public static class StockOutOrderDetailInfosBean {
        /**
         * lineno : 1
         * sku : 1004182249194654720
         * skucode : supper_test_skucode01
         * skuname : 豪华舒适型
         * spucode : Ly_supper_test_demo01
         * spuname : 波音777
         * color :
         * size :
         * grossWeight : 0
         * imageUrl :
         * neteight : 0
         * volume : 0
         * skubarcode : ["Ly_supper_test_demo01"]
         * location : null
         * locationArea : null
         * qty : 1
         */

        /**
         * 明细id
         */
        private String detailId;
        /*** 行号 */
        private String lineno;
        /*** 商品过渡表id */
        private String sku;

        /**
         * 是否开启sn   "不开启"  "半程唯一码"  "全程唯一码"  "接口同步SN"
         */
        private String sn;
        /**
         * 货主类型
         */
        private String ownertype;
        /**
         * 货主编号
         */
        private String owner;
        /**
         * 货主名称
         */
        private String ownername;
        /**
         * 商品编号
         */
        private String skucode;
        /**
         * 商品名称
         */
        private String skuname;
        /**
         * spu编码
         */
        private String spucode;
        /**
         * spu名称
         */
        private String spuname;
        private String color;
        private String size;
        private String imageUrl;
        /**
         * 毛重
         */
        private Double grossWeight;
        /*** 净重*/
        private Double netWeight;
        /**
         * 商品条码
         */
        private List<String> skubarcode = new ArrayList<>();
        /**
         * 库位
         */
        private String location;
        /**
         * 库区
         */
        private String locationArea;
        /**
         * 订单数量
         */
        private int qty;
        /**
         * 已扫描数量
         */
        private int scannedqty;

        private String snOutType;

        public String getOwner() {
            return owner == null ? "" : owner;
        }

        public void setOwner(String owner) {
            this.owner = owner;
        }

        private Set<SnlistBean> snlist = new HashSet<>();

        public Set<SnlistBean> getSnlist() {
            return snlist;
        }

        public void setSnlist(Set<SnlistBean> snlist) {
            this.snlist = snlist;
        }

        public String getSn() {
            return sn == null ? "" : sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getLineno() {
            return lineno;
        }

        public void setLineno(String lineno) {
            this.lineno = lineno;
        }

        public String getSku() {
            return sku;
        }

        public void setSku(String sku) {
            this.sku = sku;
        }

        public String getSkucode() {
            return skucode;
        }

        public void setSkucode(String skucode) {
            this.skucode = skucode;
        }

        public String getSkuname() {
            return skuname;
        }

        public void setSkuname(String skuname) {
            this.skuname = skuname;
        }

        public String getSpucode() {
            return spucode;
        }

        public void setSpucode(String spucode) {
            this.spucode = spucode;
        }

        public String getSpuname() {
            return spuname;
        }

        public void setSpuname(String spuname) {
            this.spuname = spuname;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }


        public String getDetailId() {
            return detailId == null ? "" : detailId;
        }

        public void setDetailId(String detailId) {
            this.detailId = detailId;
        }

        public String getOwnertype() {
            return ownertype == null ? "" : ownertype;
        }

        public void setOwnertype(String ownertype) {
            this.ownertype = ownertype;
        }

        public String getOwnername() {
            return ownername == null ? "" : ownername;
        }

        public void setOwnername(String ownername) {
            this.ownername = ownername;
        }

        public Double getGrossWeight() {
            return grossWeight;
        }

        public void setGrossWeight(Double grossWeight) {
            this.grossWeight = grossWeight;
        }

        public Double getNetWeight() {
            return netWeight;
        }

        public void setNetWeight(Double netWeight) {
            this.netWeight = netWeight;
        }

        public String getLocation() {
            return location == null ? "" : location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getLocationArea() {
            return locationArea == null ? "" : locationArea;
        }

        public void setLocationArea(String locationArea) {
            this.locationArea = locationArea;
        }

        public int getScannedqty() {
            return scannedqty;
        }

        public void setScannedqty(int scannedqty) {
            this.scannedqty = scannedqty;
        }

        public int getQty() {
            return qty;
        }

        public void setQty(int qty) {
            this.qty = qty;
        }

        public List<String> getSkubarcode() {
            return skubarcode;
        }

        public void setSkubarcode(List<String> skubarcode) {
            this.skubarcode = skubarcode;
        }

        public String getSnOutType() {
            return snOutType;
        }

        public void setSnOutType(String snOutType) {
            this.snOutType = snOutType;
        }
    }
}
